<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>add</title>
<script language="javascript">
function fuc(){
    var num1 = document.getElementById("num1");
    var num2 = document.getElementById("num2");
    window.open("http://localhost:8089/webService/addResult?num1="+Number(num1.value)+"&num2="+Number(num2.value)) ;
}</script>
</head>
<body>
	<input type="text" id="num1">
	<input type="text" id="num2">
	<input type="submit" onclick="fuc()">
</body>
</html>